Optimal. Leaf size=48 \[ \frac {(b \csc (e+f x))^{n+1} \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};\csc ^2(e+f x)\right )}{b f (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2621, 364} \[ \frac {(b \csc (e+f x))^{n+1} \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};\csc ^2(e+f x)\right )}{b f (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 2621
Rubi steps
\begin {align*} \int (b \csc (e+f x))^n \sec (e+f x) \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {x^n}{-1+\frac {x^2}{b^2}} \, dx,x,b \csc (e+f x)\right )}{b f}\\ &=\frac {(b \csc (e+f x))^{1+n} \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};\csc ^2(e+f x)\right )}{b f (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 51, normalized size = 1.06 \[ -\frac {b (b \csc (e+f x))^{n-1} \, _2F_1\left (1,\frac {1-n}{2};\frac {3-n}{2};\sin ^2(e+f x)\right )}{f (n-1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.66, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.16, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x +e \right )\right )^{n} \sec \left (f x +e \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (\frac {b}{\sin \left (e+f\,x\right )}\right )}^n}{\cos \left (e+f\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc {\left (e + f x \right )}\right )^{n} \sec {\left (e + f x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________